package com._51cto.healthy.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

/****
 * @Author:DancingHorse
 * @Description:TRole构建
 * @Date 2029/6/14 19:13
 *****/
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class Role implements Serializable{

    private Integer id;//
    private String name;//
    private String keyword;//
    private String description;//

    //---关系扩展
    private List<Menu> menus;
    private List<Permission> permissions;

    private List<Integer> menuIds;
    private List<Integer> permissionIds;
}
